home *** CD-ROM | disk | FTP | other *** search
/ Cine Live 69 / Cine Live 69.iso / pc / Data / Interface / bonus.k < prev    next >
Encoding:
Text File  |  2003-05-05  |  4.7 KB  |  220 lines

  1. module oRoot1 is cBox
  2. with 
  3.     Flags is $00000152; 
  4.     release Editor:
  5.         IOWindow is {$000000B8,$000000A2,$0000023F,$000002CD,$00000000,$00000000,$00000000,$00000000};
  6.         LayoutWindow is {$00000104,$0000008A,$0000032F,$00000267,$00000000,$00000000,$00000064,$00000000};
  7.     end;
  8.     Name is "Root"; 
  9.     Enabled is false; 
  10.     
  11.     Width is 800; Height is 600; 
  12.     
  13.     
  14.     Elements is [
  15.         oMusic2,
  16.         ofond3,
  17.         oreportage_sommaire4,
  18.         oBox5,
  19.         oreportage_lancer6,
  20.         oVid_o7
  21.     ];
  22.     Events is [
  23.         cOnscreenEvent
  24.         with Flags is $00000004; 
  25.             Commands is [
  26.                 cRunCommand
  27.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  28.             ];
  29.         end,
  30.         cKeyboardEvent
  31.         with Flags is $00000004; Test is IsSpace; 
  32.             Commands is [
  33.                 cRunCommand
  34.                 with Flags is $00000004; Target is oVid_o7; Mode is Toggle; end
  35.             ];
  36.         end,
  37.         cKeyboardEvent
  38.         with Value is "+"; 
  39.             Commands is [
  40.                 cSetVolumeCommand
  41.                 with Mode is ExecuteHigher; end
  42.             ];
  43.         end,
  44.         cKeyboardEvent
  45.         with Value is "-"; 
  46.             Commands is [
  47.                 cSetVolumeCommand
  48.                 with Flags is $00000004; Mode is ExecuteLower; end
  49.             ];
  50.         end,
  51.         cKeyboardEvent
  52.         with Value is "m"; 
  53.             Commands is [
  54.                 cRunCommand
  55.                 with Flags is $00000004; Mode is Toggle; Rewind is true; end
  56.             ];
  57.         end
  58.     ];
  59. end;
  60.  
  61. object oMusic2 is cSound
  62. with 
  63.     Flags is $00000150; 
  64.     Name is "Music"; 
  65.     
  66.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  67.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  68.     Looping is true; 
  69.     URL is "data/Sons/1.mp3"; URLOption is GetDiskURL; 
  70.     
  71. end;
  72.  
  73. object ofond3 is cImage
  74. with 
  75.     Flags is $00000150; 
  76.     Name is "fond"; 
  77.     Enabled is false; 
  78.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  79.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  80.     
  81.     URL is "data/Images/bonus.jpg"; URLOption is GetDiskURL; 
  82.     
  83.     
  84. end;
  85.  
  86. object oreportage_sommaire4 is cImage
  87. with 
  88.     Name is "reportage sommaire"; 
  89.     Shown is false; Cursor is oFingerCursor; 
  90.     X is 629; Y is 573; 
  91.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  92.     
  93.     URL is "data/Images/vid%20sommaire.jpg"; URLOption is GetDiskURL; 
  94.     
  95.     
  96.     Events is [
  97.         cMouseEnterEvent
  98.         with 
  99.             Commands is [
  100.                 cShowCommand
  101.                 with Target is oTargetSelf; end
  102.             ];
  103.         end,
  104.         cMouseLeaveEvent
  105.         with 
  106.             Commands is [
  107.                 cShowCommand
  108.                 with Target is oTargetSelf; Mode is Clear; end
  109.             ];
  110.         end,
  111.         cMouseUpEvent
  112.         with 
  113.             Commands is [
  114.                 cBrowseCommand
  115.                 with URL is "data/Interface/sommaire.k"; URLOption is GetDiskURL; end
  116.             ];
  117.         end
  118.     ];
  119. end;
  120.  
  121. object oBox5 is cBox
  122. with 
  123.     Flags is $00008151; 
  124.     Name is "Box"; 
  125.     Region is {$FFFF000A,$00000000,$006A006A};
  126.     Cursor is oFingerCursor; 
  127.     X is 652; Y is 318; 
  128.     Width is 106; Height is 108; 
  129.     
  130.     
  131.     Events is [
  132.         cMouseUpEvent
  133.         with Flags is $00004004; Flag is true; 
  134.             Commands is [
  135.                 cBrowseCommand
  136.                 with Flags is $00004000; URL is "data/Interface/mcm.k"; URLOption is GetDiskURL; end
  137.             ];
  138.         end
  139.     ];
  140. end;
  141.  
  142. object oreportage_lancer6 is cImage
  143. with 
  144.     Name is "reportage lancer"; 
  145.     Shown is false; Cursor is oFingerCursor; 
  146.     X is 475; Y is 573; 
  147.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  148.     
  149.     URL is "data/Images/vid%20video.jpg"; URLOption is GetDiskURL; 
  150.     
  151.     
  152.     Events is [
  153.         cMouseEnterEvent
  154.         with 
  155.             Commands is [
  156.                 cShowCommand
  157.                 with Target is oTargetSelf; end
  158.             ];
  159.         end,
  160.         cMouseLeaveEvent
  161.         with 
  162.             Commands is [
  163.                 cShowCommand
  164.                 with Target is oTargetSelf; Mode is Clear; end
  165.             ];
  166.         end,
  167.         cMouseUpEvent
  168.         with 
  169.             Commands is [
  170.                 cShowCommand
  171.                 with Target is oVid_o7; end,
  172.                 cEnableCommand
  173.                 with Target is oVid_o7; end,
  174.                 cRunCommand
  175.                 with Target is oVid_o7; Rewind is true; end,
  176.                 cRunCommand
  177.                 with Target is oMusic2; Mode is Clear; Rewind is true; end
  178.             ];
  179.         end
  180.     ];
  181. end;
  182.  
  183. object oVid_o7 is cMPEGMovie
  184. with 
  185.     Flags is $00000150; 
  186.     Name is "Vid\$E9o"; 
  187.     Enabled is false; Shown is false; Cursor is oEmptyCursor; 
  188.     
  189.     Width is 800; Height is 600; 
  190.     
  191.     URL is "Data/Videos/bonus.mpg"; URLOption is GetDiskURL; 
  192.     Events is [
  193.         cMouseUpEvent
  194.         with Flags is $00000004; 
  195.             Commands is [
  196.                 cShowCommand
  197.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  198.                 cEnableCommand
  199.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  200.                 cRunCommand
  201.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; Rewind is true; end,
  202.                 cRunCommand
  203.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  204.             ];
  205.         end,
  206.         cFinishedEvent
  207.         with Flags is $00000004; 
  208.             Commands is [
  209.                 cShowCommand
  210.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  211.                 cEnableCommand
  212.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  213.                 cRunCommand
  214.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; Rewind is true; end,
  215.                 cRunCommand
  216.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  217.             ];
  218.         end
  219.     ];
  220. end;